package com.hmall.client;


import com.hmall.user.Address;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient(value = "userservice")
public interface UserClient {

    @GetMapping("/address/{addressId}")
    Address selectAddressById(@PathVariable("addressId") Long addressId);


}